package cn.iocoder.yudao.module.member.controller.admin.usercommission.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 佣金分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class UserCommissionPageReqVO extends PageParam {

    @Schema(description = "用户id", example = "15791")
    private Long userId;

    @Schema(description = "邀请类型：1 一级邀请；2 二级邀请；", example = "1")
    private Boolean inviterType;

    @Schema(description = "一级被邀请人用户id", example = "20204")
    private Long firstInviteeUserId;

    @Schema(description = "二级被邀请人用户id", example = "15366")
    private Long secondInviteeUserId;

    @Schema(description = "支付套餐订单编号", example = "28597")
    private Long payPackageOrderId;

    @Schema(description = "充值，单位：分")
    private Integer recharge;

    @Schema(description = "佣金，单位：分")
    private Integer commission;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}